package com.qilin.hscs.vo;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

/**
 * Created by 10188 on 2018/5/7.
 */
@Data
public class UserHostVO {

    @JSONField(name = "mac")
    private String hostMac;

    @JSONField(name = "name")
    private String hostName;

    private Integer isUse;

    private Integer role;

    @JSONField(name = "userName")
    private String userName;

    private String phone;

    public UserHostVO(String mac, String name, Integer isUse, Integer role) {
        this.hostMac = mac;
        this.hostName = name;
        this.isUse = isUse;
        this.role = role;
    }

    public UserHostVO(Integer role, String userName, String phone) {
        this.role = role;
        this.userName = userName;
        this.phone = phone;
    }

    public UserHostVO() {
    }
}
